<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:52:"E:\WWW\waimai/app/wechat/user\view\address\edit.html";i:1505382674;}*/ ?>
<div class="ks-address ks-fade-r">
    <header class="header">
        <div>
            <a class="back ks-close"><i class="iconfont icon-zuoyoujiantou-copy-copy-copy"></i></a>
            <?php if($m['id']): ?>修改<?php else: ?>新增<?php endif; ?>收货地址
        </div>
    </header>
    <div class="pages">
        <div class="mui-input-group" id="edit_form">
            <input type="hidden" name="id" value="<?php echo $m['id']; ?>"/>
            <div class="mui-input-row">
                <label class="required">收货人</label>
                <input type="text" placeholder="收货人" name="name" value="<?php echo $m['name']; ?>">
            </div>
            <div class="mui-input-row">
                <label class="required">手机号码</label>
                <input type="tel" placeholder="手机号码" name="mobile" value="<?php echo $m['mobile']; ?>">
            </div>
            <!--<div class="mui-input-row">-->
                <!--<input type="hidden" id="edit_province" name="province" value="<?php echo $m['province']; ?>"/>-->
                <!--<input type="hidden" id="edit_city" name="city" value="<?php echo $m['city']; ?>"/>-->
                <!--<input type="hidden" id="edit_district" name="district" value="<?php echo $m['district']; ?>"/>-->
                <!--<a class="mui-navigate-right" href="#addressLocation">-->
                    <!--<label class="required">所在地区</label>-->

                    <!--<span class="placeholder <?php if(empty($m['district'])): ?>color-gray<?php endif; ?>" id="edit_location"><?php if($m['district']): ?><?php echo $m['province']; ?> <?php echo $m['city']; ?> <?php echo $m['district']; else: ?>所在地区<?php endif; ?></span>-->
                <!--</a>-->
            <!--</div>-->
            <div class="mui-input-row">
                <label class="required">详细地址</label>
                <input type="text" placeholder="街道，楼牌号" name="address" value="<?php echo $m['address']; ?>">
            </div>
            <!--<div class="mui-input-row">-->
                <!--<label>邮政编码</label>-->
                <!--<input type="tel" placeholder="邮政编码" name="zip_code" value="<?php echo $m['zip_code']; ?>">-->
            <!--</div>-->
            <!--<div class="mui-input-row">-->
                <!--<input type="hidden" id="edit_map_lng" name="lng" value="<?php echo $m['lng']; ?>"/>-->
                <!--<input type="hidden" id="edit_map_lat" name="lat" value="<?php echo $m['lat']; ?>"/>-->
                <!--<input type="hidden" id="edit_map_zoom" name="zoom" value="<?php echo $m['zoom']; ?>"/>-->
                <!--<a class="mui-navigate-right" href="#addressMap<?php if($m['lng']): ?>?lng=<?php echo $m['lng']; ?>&lat=<?php echo $m['lat']; ?>&zoom=<?php echo $m['zoom']; endif; ?>">-->
                    <!--<label>地图定位</label>-->
                <!--<span class="placeholder <?php if(empty($m['lng'])): ?>color-gray<?php endif; ?>" id="edit_map"><?php if($m['lng']): ?>已定位<?php else: ?>未定位<?php endif; ?></span>-->
                <!--</a>-->
            <!--</div>-->
        </div>
        <footer class="btn-bottom">
            <a id="edit_submit">保存地址</a>
        </footer>
    </div>
</div>